package com.scalar.chiptrack.sales;

/**
 * Finished Goods Object,
 *
 * @author Kesava Kumar Achanala
 * @version $Revision: 1.3 $ $Date: 2011/01/24 08:10:31 $
 */


public class CustomerPartNumber {

  // ----------------------------------------------------- Instance Variables


  private int productId= -1;
  private String manufacturingPartNo = null;
  private String customerPartNo = null;
  private String labelNumber = null;
  private int odmId = -1;
  private String odmName = null;
  private String marketingPartNo = null;
  private String comments = null;

  /**
   * Default Constructor
   *
   */
  public CustomerPartNumber() {

  }

  /**
   * Constructor
   *
   */
  public CustomerPartNumber( int productId, String manufacturingPartNo, String customerPartNo, String labelNumber ) {

        this.productId	= productId;
        this.manufacturingPartNo = manufacturingPartNo;
        this.customerPartNo = customerPartNo;
        this.labelNumber  = labelNumber;
  }

  public String getManufacturingPartNo()
  {
      return manufacturingPartNo;
  }

  public void setManufacturingPartNo(String manufacturingPartNo)
  {
      this.manufacturingPartNo = manufacturingPartNo;
  }

 public int getProductId()
  {
      return productId;
  }

  public void setProductId(int productId)
  {
      this.productId = productId;
  }

  public String getCustomerPartNo() {
      if(customerPartNo == null)
      {
          customerPartNo ="";
      }
    return customerPartNo;
  }

  public void setCustomerPartNo(String customerPartNo) {
    this.customerPartNo = customerPartNo;
  }


  public String getLabelNumber() {
      if(labelNumber == null)
      {
          labelNumber ="";
      }
    return labelNumber;
  }

  public void setLabelNumber(String labelNumber) {
    this.labelNumber = labelNumber;
  }

    public int getOdmId() {
        return odmId;
    }

    public void setOdmId(int odmId) {
        this.odmId = odmId;
    }

    public String getOdmName() {
        return odmName;
    }

    public void setOdmName(String odmName) {
        this.odmName = odmName;
    }

    public String getMarketingPartNo() {
        return marketingPartNo;
    }

    public void setMarketingPartNo(String marketingPartNo) {
        this.marketingPartNo = marketingPartNo;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }
}